package com.emm.yixun.openapi.hander;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.GetRemindCategoryListReqDto;
import com.emm.yixun.common.app.GetRemindCategoryListResDto;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.GetRemindCategoryListReqVo;
import com.emm.yixun.system.service.app.UserServiceAppFacade;

/**
 * 查询提醒分类列表接口
 * @author Administrator
 *
 */
@Service("getRemindCategoryListHander")
public class GetRemindCategoryListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private UserServiceAppFacade userServiceAppFacade;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		GetRemindCategoryListReqVo req = (GetRemindCategoryListReqVo)reqDto;
		GetRemindCategoryListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<GetRemindCategoryListResDto> res = new BaseResponseDTO<GetRemindCategoryListResDto>();
		res.setResData(userServiceAppFacade.getRemindCategoryList(reqDto1));
		return res;
	}
	
}
